package scau.markmapscau.Model.Tool;

import javafx.stage.FileChooser.ExtensionFilter;
import scau.markmapscau.Model.Node.Node;
import scau.markmapscau.Model.Node.NodeArranger;
import java.io.*;
import java.util.HashMap;
import java.util.Hashtable;
import javax.swing.filechooser.FileFilter;
import java.util.Locale;
import java.util.Properties;

public class Tool {
    //extends FileFilter{

    private int isSave=0;      //是否打开过文件
    private int isExit=0;      //是否退出询问保存的过程

    public void setIsExit(int isExit) {
        this.isExit = isExit;
    }

    public void setIsSave(int isSave) {
        this.isSave = isSave;
    }

    public int getIsExit() {
        return isExit;
    }

    public int getIsSave() {
        return isSave;
    }

    //没用到，因为不会用这个方法...
//    private static Properties properties = new Properties();
//    private static InputStream inputStream = Object.class.getResourceAsStream("/FileProperty.properties");
//
//    static {
//        try {
//            properties.load(inputStream);
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//    }


}

